// @ts-ignore
import styled from "styled-components";
type propsType={
  $cover:string
};
const SongSheetDetailsStyle=styled.div<propsType>`
  position: relative;
  .song-sheet-details-cover{
    position: relative;
    width: 250px;
    height: 250px;
    background-image: url(${(props:propsType)=>props?props.$cover:"https://p1.music.126.net/CBx2K_jEN3SNWwYztagPPw==/109951164485969446.jpg"});
    background-size: 100% 100%;
    background-position: center;
  }
  .info-title{
    font-size: 31px;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 70%;
    margin: 0 0 20px;
  }
  .create-username{
    height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    margin:5px 0;
  }
  .info-box{
    display: grid;
    margin: 10px auto;
    grid-template-columns: repeat(2,300px);
    grid-gap: 18px;
  }
  .info-box div{
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .album-details-btn{
    font-size: 17px;
    padding: 7px 20px 35px;
    background: transparent;
    margin: 0 3px;
  }
  .select-btn{
    background: var(--theme-color);
    color: var(--theme-white);
  }


  //主体
  .music-name-td{
    position:relative;
  }
  .music-btn{
    display: none;
    position: absolute;
    font-size: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(49,194,124,.6);
    cursor: pointer;
    z-index: 1;
  }
  .music-btn:hover{
    color: var(--theme-color);
  }
  .music-add-btn{
    right: 0;
    font-size: 44px;
    font-weight: 100;
  }
  .music-play-btn{
    right: 50px;
    //font-weight: bolder;
  }
  /**----------antd样式修改--------------*/
  .ant-table{
    background: transparent;
  }
  .ant-pagination-item{
    background: transparent;
  }
  .ant-table-cell-row-hover{
    background: #EEEEEE!important;
  }
  .ant-table-cell-row-hover .music-btn{
    display: block;
  }
  /**------------------------------------*/
`;
export default SongSheetDetailsStyle;
